/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

using VOL.Entity;
using VOL.Entity.SystemModels;

namespace BusFin.Read.Entity.DomainModels
{
    [Entity(TableCnName = "库位管理",TableName = "Location")]
    public partial class Location:BaseEntity
    {
        /// <summary>
       ///库位编号
       /// </summary>
       [SugarColumn(IsPrimaryKey = true)]
       [Key]
       [Display(Name ="库位编号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string LocationId { get; set; }

       /// <summary>
       ///库位名称
       /// </summary>
       [Display(Name ="库位名称")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string LocationName { get; set; }

       /// <summary>
       ///所属仓库
       /// </summary>
       [Display(Name ="所属仓库")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string wareHouseId { get; set; }

       /// <summary>
       ///是否禁用
       /// </summary>
       [Display(Name ="是否禁用")]
       [Column(TypeName="sbyte")]
       [Editable(true)]
       public sbyte? IsDisable { get; set; }

       /// <summary>
       ///是否默认
       /// </summary>
       [Display(Name ="是否默认")]
       [Column(TypeName="sbyte")]
       [Editable(true)]
       public sbyte? IsDefule { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsDeleted")]
       [Column(TypeName="sbyte")]
       [Editable(true)]
       public sbyte? IsDeleted { get; set; }

       
    }
}